﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventScavenger
{
    public class Collector
    {
        public Collector()
        {
            Id = 0;
            Name = "";
            ThreadRecycleFrequencyMinutes = 1440;
            NextRecycleTime = new DateTime(2000, 1, 1);
            ThreadRecyclingEnabled = true;
            ImportsEnabled = false;
            ImportFrequency = 15;
        }
        public int Id { get; set; }
        public string Name { get; set; }
        public int ThreadRecycleFrequencyMinutes { get; set; }
        public DateTime NextRecycleTime { get; set; }
        public bool ThreadRecyclingEnabled { get; set; }
        public bool ImportsEnabled { get; set; }
        public int ImportFrequency { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }
}
